import request from '@/utils/request'
/**
 * 意向客户跟进管理编辑
 * @param {*} data
 * @returns
 */
export function potentialCustomerFollowUpEdit(data) {
  return request({
    url: '/api/v1/ctmIntendedCustomerFollowUp',
    method: 'PUT',
    data
  })
}
/**
 * 获取详情
 * @param {*} id 
 * @returns 
 */
export function potentialCustomerFollowUpDetail(id) {
  return request({
    url: `/api/v1/ctmIntendedCustomerFollowUp/getDataByIntendedCustomerId/${id}`,
    method: 'GET'
  })
}

/**
 * 终止
 * @param {*} data
 * @returns
 */
export function potentialCustomerFollowUpTerminate(data) {
  return request({
    url: '/api/v1/ctmIntendedCustomerFollowUp/terminate',
    method: 'PUT',
    data
  })
}
/**
 * 提交
 * @param {*} data
 * @returns
 */
export function potentialCustomerFollowUpSubmit(data) {
  return request({
    url: '/api/v1/ctmIntendedCustomerFollowUp/submit',
    method: 'PUT',
    data
  })
}
